import React from 'react';
import ReactDOM from 'react-dom';
import { HashRouter} from 'react-router-dom'
// 导入antd-mobile样式
import 'antd-mobile/dist/antd-mobile.css'
// 导入本地字体图标库的样式文件
import './assets/fonts/iconfont.css'
import 'react-virtualized/styles.css'
import './index.css';
import App from './App';
import axios from "axios";
import { api } from './api/api'
React.Component.prototype.$axios = api;
React.Component.prototype.baseUrl = axios.defaults.baseURL;

ReactDOM.render(
  <HashRouter>
    <App />
  </HashRouter>,
  document.getElementById('root')
);